<%-- 
    Document   : liberar
    Created on : 01/06/2009, 10:11:28 AM
    Author     : PC
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
   <f:view>

   <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Mantenimiento Garantía</title>
    </head>
    <body>
       <h:messages id="mensajes" showDetail="true" />
        <h1><h:outputText value="Liberación de Garantía" /></h1>
           <t:panelGrid columns="2" >
             <h:outputLabel value="Código Garantia:" for="txtgarantia"/>
                        <h:inputText id="txtgarantia" value="#{Controller.alumno.nombre}" >
                            <f:validateLength maximum="20" minimum="5" />
                        </h:inputText>
                         <h:outputLabel value="Estado Garantia:" for="lstEstGar" />
                        <h:selectManyCheckbox id="lstEstGar" value="#{Controller.colegios}">
                            <f:selectItem itemValue="1" itemLabel="Activa"/>
                            <f:selectItem itemValue="2" itemLabel="Liberada"/>
                         </h:selectManyCheckbox>
                        </t:panelGrid>
                        <t:panelGrid columns="1">
                            <h:commandButton id = "btnGenerar" value="Generar Orden" />
                        </t:panelGrid>
                        <t:panelGrid columns="2">
                            <h:commandButton id = "btnLiberar" value="Liberar" />
                            <h:commandButton id = "btnCancelar" value="Cancelar" />
                        </t:panelGrid>
    </body>
</html>
</f:view>